import axios from 'axios'

export default function ({ $axios, redirect, app }, inject) {
  $axios.onRequest(config => {
    config.withCredentials = config.withCredentials === undefined ? true : config.withCredentials
  })
}
